package com.fiveGroup.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fiveGroup.pojo.ProductReview;
import com.fiveGroup.pojo.vo.ProductReviewVo;

import java.util.List;

/**
 * @author 86188
 * @description 针对表【product_review(商品评价表)】的数据库操作Service
 * @createDate 2025-09-26 15:01:12
 */
public interface ProductReviewService extends IService<ProductReview> {

    List<ProductReviewVo> selectByProductId(Long productId);


    // 删除某个商品的评论
    int deleteReview(Long reviewId);


    // 新增一条评论
    int addReview(ProductReview productReview);

}
